function Button() {
    const handleClick = () => {
        setTimeout(() => {
            alert('我被点击了')
        }, 3000)
    }
    return <button onClick={handleClick}>点我</button>
}

export default Button;